<?php if(!defined('HDPHP_PATH'))exit;C('SHOW_NOTICE',FALSE);?>
<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<meta name="viewport" content="width=1000, initial-scale=1.0, maximum-scale=1.0">
	    <!-- Loading Bootstrap -->
	    <link href="http://localhost/YouHuoShop/Static/Admin/Flat/dist/css/vendor/bootstrap.min.css" rel="stylesheet">
	    <!-- Loading Flat UI -->
	    <link href="http://localhost/YouHuoShop/Static/Admin/Flat/dist/css/flat-ui.css" rel="stylesheet">
	    <link href="http://localhost/YouHuoShop/Static/Admin/Flat/docs/assets/css/demo.css" rel="stylesheet">
	    <link rel="shortcut icon" href="http://localhost/YouHuoShop/Static/Admin/Flat/img/favicon.ico">
	</head>
	<body>
		<div class="alert alert-success">添加分类</div>
		<form action="" method="post">
			<div class="form-group">
				<label for="exampleInputEmail1">所属类型</label>
				<select name="tpid" class="form-control">
					<?php foreach ($typeData as $k=>$t){?>
						<option value="<?php echo $t['tpid'];?>"><?php echo $t['tpname'];?></option>
					<?php }?>
				</select>
			</div>
			<div class="form-group">
				<label for="exampleInputEmail1">分类名称</label>
				<input name="cname" id="exampleInputEmail1" class="form-control" type="text" placeholder="请输入分类名称" required="" >
			</div>
			<div class="form-group">
				<label for="exampleInputEmail2">排序</label>
				<input name="sort" value="100"  id="exampleInputEmail2" class="form-control" type="text"  required="" >
			</div>
			<button class="btn btn-primary btn-block" type="submit"> 确定 </button>
		</form>
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
	</body>
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
</html>
